
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ include file="../template/common_variable.balz"%>	

<div class="header">

	<%
		if (loginUsername != null) {
	%>
	<div style=" float:left; padding:5px 0 0px 10px; ">
		<span class="red"><%=rb.getString("header.welcome")%> : <%= session.getAttribute("loginUsername") %>  
		<a href="LoginServlet?page=myaccount"><%=rb.getString("menu.myaccount")%></a> / 
		<a href="LogoutServlet"><%=rb.getString("menu.logout")%></a>
		</span> 
	</div>
	<%
		} else {
	%>
		<div style=" float:left; padding:5px 0 0px 10px; ">
				<span class="red"><a href="LoginServlet?page=login"><%=rb.getString("menu.login")%></a> / 
				<a href="LoginServlet?page=register"><%=rb.getString("menu.register")%></a>
				</span>
		</div>
	<%
		}
	%>
	<div class="languages_box">
		<span class="red"><%=rb.getString("header.language")%></span> 
		<a href="LoginServlet"
			class="selected"><img src="images/flag/th.gif" alt="" title=""
			border="0" /></a>
			/
		<a href="LoginServlet"><img src="images/flag/en.gif" alt=""
			title="" border="0" /></a>
	</div>
	
	<div class="logo">
		<a href="LoginServlet?page=index"><img src="images/title/title_07.png" alt="" title=""	border="0" /></a>
	</div>

	<!-- #### Menu #### -->
	<%@ include file="../template/menu.jsp"%>

</div>